import type { EChartsReactProps } from "echarts-for-react";
export interface CockpitChartBaseProps {
  reactEChartsProps?: Omit<EChartsReactProps, "option">;
  scale?: number;
  isMobile?: boolean;
  height?: string;
  unitName?: string;
  dataSource?: {
    name?: string;
    amount?: number;
    planAmount?: number;
    beforeAmount?: number;
    planFinishPercent?: number;
    realFinishPercent?: number;
    monthAmount?: number;
    yearAmount?: number;
    percent?: number;
    // 采购额
    purAmount?: number;
    // 销售额
    supAmount?: number;
    // 应收款
    receivableAmount?: number;
    // 应付款
    payableAmount?: number;

    routeAmount?: number;
    regularAmount?: number;
    dailyAmount?: number;
    unitAmount?: number;
    segmentAmount?: number;
    subSegmentAmount?: number;
    projectAmount?: number;
    batchAmount?: number;
  }[];
}
